#ifndef MYWAIT_H
#define MYWAIT_H

#include <QPaintEvent>
#include <QWidget>

class MyWait : public QWidget
{
    Q_OBJECT
public:
    explicit MyWait(QWidget *parent = nullptr);
    QSize sizeHint() const override;

private:
    void setFlagPos(int where);
    void paintEvent(QPaintEvent *event) override;

private:
    int atWhere; /* [0, 360) */

};

#endif // MYWAIT_H
